#ifdef _SYMBIAN_SDK_
#pragma once
#ifndef myFrameWork_h__
#define myFrameWork_h__

#include <coecntrl.h>
#include <aknappui.h>
#include "./symApp.h"
//#include "../adapter/symbian/myPict.h"
//#include "../adapter/symbian/myFont.h"
//#include "../adapter/symbian/myInput.h"
//#include "../adapter/symbian/myEditInput.h"
class skyFrameWork : public CCoeControl
{

public:
	static skyFrameWork* NewL(CAknAppUi& aAppUi);
	~skyFrameWork();

private:
	skyFrameWork(CAknAppUi& aAppUi);
	void ConstructL();

private:
	/**
	* From CoeControl,SizeChanged.
	*/
	void SizeChanged(){};

	/**
	* From CoeControl,CountComponentControls.
	*/
	::TInt CountComponentControls() const{return 0;};

	/**
	* From CCoeControl,ComponentControl.
	*/
	CCoeControl* ComponentControl(::TInt aIndex) const{return 0;};

	/**
	* From CCoeControl,Draw.
	*/
	void Draw(const ::TRect& aRect) const;

	/**
	* From CCoeControl, OfferKeyEventL
	*/
	TKeyResponse OfferKeyEventL(const TKeyEvent &aKeyEvent, TEventCode aType);

	
public:
	int FontMinWeight();
	void Initialise();
	//new(ELeave) funtion
	Sky::MsgStatus	handleCallback(Framework::myEventManager* mgr,Framework::Message* message);
private:
	CAknAppUi&		iAppUi;
	CFont* m_pFont;
	mutable symAppPtr 		app;
	mutable Sky::Canvas canvas;
	//myPict 		  m_Canvas;
	//myFont		  m_Font;
	CFbsBitmap*	  		m_Area;
	Sky::Bool		  m_bInited;
	//myEditInput	  m_Edit;
};
#endif // myFrameWork_h__
#endif